package it.pecuswap.commons.client.rest.interfaces;

import it.pecuswap.commons.client.rest.parameters.LoginParameter;
import it.pecuswap.commons.dto.UtentiDTO;
import it.pecuswap.commons.exceptions.PecuswapRestException;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

@Path("/rest")
public interface UtentiServiceInterface {

	@POST
	@Path("/utentiService")
	@Produces("application/json")
	@Consumes("application/json")
	UtentiDTO login(LoginParameter param) throws PecuswapRestException;
	
}
